public class Organizer extends Users{
    private String unit;

    public Organizer(String id, String name, String phoneNo, String email, String unit) {
        super(id, name, phoneNo, email);
        this.unit = unit;
    }

    public String getUnit() {
        return unit;
    }

    @Override
    public String toString() {
        return "Organizer{" +
                "id='" + getId() + '\'' +
                ", name='" + getName() + '\'' +
                ", phoneNo='" + getPhoneNo() + '\'' +
                ", email='" + getEmail() + '\''+
                "unit='" + unit + '\'' +
                '}';
    }
}
